ExamPlay Light Logo
Prihlásiť sa

Computer Science for IGCSE & O level - Programming (Section 1 - No. 42)

What is the purpose of an `ELSE` statement when used with an `IF` statement?
To execute a block of code if the `IF` condition is false.
To start a loop.
To declare a variable.
To terminate a procedure.

Vysvetlenie

An `ELSE` block contains the code to run if the `IF` condition is not met (is false).

Pripomienky (0)

Ak chcete komentovať, prihláste sa
Reklama
BrainBehindX Inc Logo
©2026; Beží na BrainBehindX Inc